home *** CD-ROM | disk | FTP | other *** search
/ Clickx 63 / Clickx 63.iso / software / multimedia / mirov204 / Miro_Installer.exe / xulrunner / chrome / toolkit.jar / content / global / about.xhtml next >
Encoding:
Extensible Markup Language  |  2008-03-31  |  4.4 KB  |  104 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  4.   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
  5. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  6. %brandDTD;
  7. <!ENTITY % aboutDTD SYSTEM "chrome://global/locale/about.dtd" >
  8. %aboutDTD;
  9. <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  10. %globalDTD;
  11. ]>
  12.  
  13. <!-- ***** BEGIN LICENSE BLOCK *****
  14.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  15.    -
  16.    - The contents of this file are subject to the Mozilla Public License Version
  17.    - 1.1 (the "License"); you may not use this file except in compliance with
  18.    - the License. You may obtain a copy of the License at
  19.    - http://www.mozilla.org/MPL/
  20.    -
  21.    - Software distributed under the License is distributed on an "AS IS" basis,
  22.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  23.    - for the specific language governing rights and limitations under the
  24.    - License.
  25.    -
  26.    - The Original Code is Mozilla Communicator client code, released
  27.    - March 31, 1998.
  28.    -
  29.    - The Initial Developer of the Original Code is
  30.    - Netscape Communications Corporation.
  31.    - Portions created by the Initial Developer are Copyright (C) 1998-1999
  32.    - the Initial Developer. All Rights Reserved.
  33.    -
  34.    - Contributor(s):
  35.    -   Henrik Gemal <mozilla@gemal.dk>
  36.    -   Daniel Veditz <dveditz@netscape.com>
  37.    -   Alexey Chernyak <alexeyc@bigfoot.com>
  38.    -   Steffen Wilberg <steffen.wilberg@web.de>
  39.    -
  40.    - Alternatively, the contents of this file may be used under the terms of
  41.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  42.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  43.    - in which case the provisions of the GPL or the LGPL are applicable instead
  44.    - of those above. If you wish to allow use of your version of this file only
  45.    - under the terms of either the GPL or the LGPL, and not to allow others to
  46.    - use your version of this file under the terms of the MPL, indicate your
  47.    - decision by deleting the provisions above and replace them with the notice
  48.    - and other provisions required by the GPL or the LGPL. If you do not delete
  49.    - the provisions above, a recipient may use your version of this file under
  50.    - the terms of any one of the MPL, the GPL or the LGPL.
  51.    -
  52.    - ***** END LICENSE BLOCK ***** -->
  53.  
  54. <html xmlns="http://www.w3.org/1999/xhtml">
  55. <head>
  56.   <title>About:</title>
  57.   <link rel="stylesheet" href="chrome://global/skin/about.css" type="text/css"/>
  58. </head>
  59.  
  60. <body dir="&locale.dir;">
  61. <div id="aboutPageContainer">
  62.   <div id="aboutLogoContainer">
  63.     <a id="vendorURL" href="http://www.mozilla.org/">
  64.       <img src="about:logo" alt="&brandShortName;"/>
  65. <p id="version">&about.version; 1.9</p>
  66.     </a>
  67.   </div>
  68.  
  69.   <ul id="aboutPageList">
  70.     <li>&about.copy.beforeLink; <a href="about:credits">&about.copy.linkTitle;</a> &about.copy.afterLink;</li>
  71.     <li>&about.license.beforeLink; <a href="about:license">&about.license.linkTitle;</a> &about.license.afterLink;</li>
  72.     <!-- Release notes link removed pending fix for bug 349985
  73.     <li>&about.relnotes.beforeLink; <a id="releaseNotesURL" href="">&about.relnotes.linkTitle;</a> &about.relnotes.afterLink;</li>
  74.     -->
  75.     <li>&about.buildconfig.beforeLink; <a href="about:buildconfig">&about.buildconfig.linkTitle;</a> &about.buildconfig.afterLink;</li>
  76.     <script type="application/javascript">
  77.       // get release notes URL from prefs
  78.       try {
  79.         var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]
  80.                                   .getService(Components.interfaces.nsIURLFormatter);
  81.         var releaseNotesURL = formatter.formatURLPref("app.releaseNotesURL");
  82.         var relnotes = document.getElementById("releaseNotesURL");
  83.         relnotes.setAttribute("href", releaseNotesURL);
  84.  
  85.         var vendorURL = formatter.formatURLPref("app.vendorURL");
  86.         var vendor = document.getElementById("vendorURL");
  87.         vendor.setAttribute("href", vendorURL);
  88.       }
  89.       catch (ex) { /* no release notes and vendor URL for you without bug 349985 being fixed */ }
  90.  
  91.       var ua = navigator.userAgent;
  92.       if (ua) {
  93.         var list = document.getElementById("aboutPageList");
  94.         var listItem = list.appendChild(document.createElement("li"));
  95.         listItem.appendChild(document.createTextNode("&about.buildIdentifier;"));
  96.         listItem.appendChild(document.createTextNode(ua));
  97.       }
  98.     </script>
  99.   </ul>
  100.  
  101. </div>
  102. </body>
  103. </html>
  104.